[NET] back: Add SG support
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 5 Jun 2006 15:13:47 +0000 (16:13 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 5 Jun 2006 15:13:47 +0000 (16:13 +0100)
commit99812f4013c542f82026f94e12f416ced00c8c1c
tree8ad574d588cbe4e56e069334d15d2f7924cf600b
parent3e19af6e66e439c5297a8c885f256674c17aff50
[NET] back: Add SG support

This patch adds scatter-and-gather support to the backend.  It also
advertises this fact through xenbus so that the frontend can detect
this and send through SG requests only if it is supported.

SG support is required to support skb's larger than one page.  This
in turn is needed for either jumbo MTU or TSO.  One of these is
required to bring local networking performance up to a level that
is acceptable.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
linux-2.6-xen-sparse/drivers/xen/netback/netback.c
linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c
xen/include/public/io/netif.h
xen/include/public/io/ring.h